<div class="np-base-header">
    <div class="np-base-title">
        <h2>{$header_info.title}</h2>
        <div class="actions">
            {foreach $header_info.btns as $item}
            <a href="{$item.href ?? 'javascript:;'}" class="layui-btn layui-btn-sm {$item.class ?? ''}">
                {if !empty($item.icon)}
                <i class="layui-icon {$item.icon}"></i>
                {/if}
                {$item.title ?? ''}
            </a>
            {/foreach}
        </div>
    </div>
    {if $header_info.tips}
    <div class="np-base-tip">{$header_info.tips}</div>
    {/if}
</div>